package com.david.swing.ball.service;

import java.util.Random;

import com.david.swing.ball.Constants;

public final class Service {
    
    private Service(){
        
    }
    
    public static boolean isBrickRequired(){
        Random random = new Random();
        return random.nextInt(100) < Constants.BRICK_EXIST_PROBALLILITY;
    }
    
}
